package top.deepdesigner.service;

import top.deepdesigner.pojo.DtsCoupon;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/23 星期五 11:07:59 <br/>
 */
public interface DtsCouponService {
  Long getCouponCount();

  List<DtsCoupon> getCouponList(Integer page, Integer limit, String sort, String order, String name, Integer type, Integer status);

  DtsCoupon getCouponById(Integer id);

  DtsCoupon createCoupon(DtsCoupon coupon);

  DtsCoupon updateCoupon(DtsCoupon coupon);

  void deleteCoupon(DtsCoupon coupon);
}
